import HttpRequest from '@/libs/axios'
import config from '@/config'
const baseURL = process.env.NODE_ENV === 'development'
    ? config.baseUrl.dev
    : process.env.VUE_APP_MODE === 'testEnvironment'
        ? config.baseUrl.dev
        :  process.env.VUE_APP_MODE === 'temporary'
            ? config.baseUrl.temporary
            :  process.env.VUE_APP_MODE === 'pre'
                ? config.baseUrl.pre
                :  process.env.VUE_APP_MODE === 'prod'
                    ? config.baseUrl.pro
                    : config.baseUrl.dev;
const axios = new HttpRequest(baseURL)
export default axios
